Fix an oversight in an example.
authorMatthias Clasen <matthiasc@src.gnome.org>
Mon, 12 Mar 2007 06:15:41 +0000 (06:15 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Mon, 12 Mar 2007 06:15:41 +0000 (06:15 +0000)
svn path=/trunk/; revision=17495

ChangeLog
gtk/gtkprintoperation.c

index f43c6884dcad7e0900fb9ec4cebe5388bf4dcf70..6ed32f267caea247cd6f19ca07576834df083f09 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2007-03-12  Matthias Clasen  <mclasen@redhat.com>
 
+       * gtk/gtkprintoperation.c: Fix an oversight in an
+       example.  (#381083, Ian Puleston)
+
        * gtk/gtkcombobox.c: Clean up and clarify docs.  (#412484)
 
 2007-03-12  Matthias Clasen  <mclasen@redhat.com>
index 8b61514238beb6912028c0e0f95eaa1f001028a4..a06f112cd75bca7179ef20322b6078d63a45ca5f 100644 (file)
@@ -670,7 +670,7 @@ gtk_print_operation_class_init (GtkPrintOperationClass *class)
    *   pango_font_description_free (desc);
    *   
    *   pango_layout_set_text (layout, "some text", -1);
-   *   pango_layout_set_width (layout, width);
+   *   pango_layout_set_width (layout, width * PANGO_SCALE);
    *   pango_layout_set_alignment (layout, PANGO_ALIGN_CENTER);
    *                         
    *   pango_layout_get_size (layout, NULL, &amp;layout_height);